﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess_Layer;

namespace Business_Layer
{
    public static class SanPhamBUS
    {
        public static List<DTO.MaSPMucNhapKhoSLTonDTO> layTTQLKho(string tenDangNhap)
        {
            return SanPhamDAC.layTTQLKho(tenDangNhap);
        }

        public static bool capNhatSLTon(string tenDangNhap, long maSanPham, long soLuongTon)
        {
            return SanPhamDAC.CapNhatSLTonSP(tenDangNhap, maSanPham, soLuongTon);
        }
    }
}
